﻿using MediatR;
using RearLivestock.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace RearLivestock.RBAC.Api.Application.wbxApplication.Commands.Role
{
    public class AddRoleCommand : IRequest<Result>
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RolesName { get; set; } = string.Empty;
        /// <summary>
        /// 角色描述
        /// </summary>
        public string RolesDesc { get; set; } = string.Empty;
        /// <summary>
        /// 是否删除(true已删除;false未删除 )
        /// </summary>
        public bool IsDel { get; set; }
    }
}
